]> dgit.raspbian.org Git - gnome-shell.git/commit
loginDialog: fix cancel from "Not Listed?"
authorRay Strode <rstrode@redhat.com>
Wed, 6 Feb 2013 22:40:02 +0000 (17:40 -0500)
committerRay Strode <rstrode@redhat.com>
Tue, 19 Feb 2013 01:34:20 +0000 (20:34 -0500)
commit7da186d4e968ff4821aee58bdafaaedbed0509fe
tree27d14b0c246355db44b2aa95dfc9ec8c3425ef38
parent75885c3095a76d1480a6fa64e7075235ca19dc9a
loginDialog: fix cancel from "Not Listed?"

Since commit 1ae0fadbf483128e27565baba6e8684bc5defca2 we
no longer start a PAM conversation as soon as the user clicks
the "Not Listed?" button.  Instead we defer starting the PAM
conversation until the user types their username.

Unfortunately, the cancel button resets the dialog back to the
user list indrectly by cancelling the current PAM conversation.

This means if the user hasn't yet entered thier username then
the cancel button doesn't work.

This commit performs a direct dialog reset in the case the
PAM conversation hasn't been started yet.

https://bugzilla.gnome.org/show_bug.cgi?id=693756
js/gdm/loginDialog.js